package com.zfzs.post.common.utils;

import com.zfzs.post.model.vo.QueryGoodsOrderList;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: ck
 * @create: 2019-10-23 11:32
 **/
@Data
public class AgentType {

    private String name;

    private String type;

    private int totalCount;

    private List<QueryGoodsOrderList> list;

    public static List<AgentType> getAgentTypeList(){
        List<AgentType> list = new ArrayList<>();
        AgentType self = new AgentType();
        self.setName("自营采购");
        self.setType("self");

        AgentType partner = new AgentType();
        partner.setName("合伙人采购");
        partner.setType("partner");

        AgentType direct = new AgentType();
        direct.setName("直营采购");
        direct.setType("direct");
        list.add(self);
        list.add(partner);
        list.add(direct);
        return list;
    }
}
